<?php

use yii\helpers\Html;
use yii\widgets\DetailView;

/* @var $this yii\web\View */
/* @var $model common\models\AuthItemModel */

$this->title = $model->name;
$this->params['breadcrumbs'][] = ['label' => 'Auth Item Models', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="auth-item-model-view">

    <h1><?= Html::encode($this->title) ?></h1>
    <p><?= Html::a('修改', ['update', 'id' => $model->name], ['class' => 'btn btn-primary']) ?></p>
    <?= DetailView::widget([
        'model' => $model,
        'attributes' => [
            'name',
            'type',
            'description:ntext',
            'created_at',
            'updated_at',
        ],
    ]) ?>

</div>
